
html {
    -webkit-tap-highlight-color: transparent;
}

.tdCalendarWrap {
    width: 100%;
    height: 100%;
    background: #fff;
    margin: 0 auto;
    box-shadow: 0 2px 10px #eee;
    font-size: 14px;
    color: #333;
    font-family: 'PingFang SC', 'Source Han Sans CN', 'Microsoft YaHei', 'Helvetica Neue', Helvetica, 'Heiti SC', sans-serif;
}
.tdCalendarWrap * {
    margin: 0;
    padding: 0;
    list-style: none;
    box-sizing: border-box;
    cursor: pointer;
}

.tdCalendarWrap .weekList {
    width: 100%;
    padding: 0 10px;
    background: #F5F5F5;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.tdCalendarWrap .weekList .weekItem {
    width: calc(100% / 7);
    height: 30px;
    color: #333;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.tdCalendarWrap .weekList .weekItem.restDay {
    color: #6c8cff;
}

.tdCalendarWrap .calendarInfo {
    width: 100%;
    height: calc(100% - 30px);
    padding: 10px;
    overflow-y: auto;
}

.tdCalendarWrap .calendarInfo::-webkit-scrollbar {
    display: none;
}

.tdCalendarWrap .calendarItem {
    width: 100%;
    margin-bottom: 15px;
}

.tdCalendarWrap .calendarItem .yearMonth {
    width: 100%;
    padding-bottom: 10px;
    color: #1A1A1A;
    font-size: 16px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tdCalendarWrap .dayListBox {
    width: 100%;
}

.tdCalendarWrap .dayList {
    width: 100%;
    margin-bottom: 5px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.tdCalendarWrap .dayList .dayItem {
    width: calc(100% / 7);
    height: 64px;
    padding: 5px 0;
    border-radius: 4px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    cursor: pointer;
}

.tdCalendarWrap .dayList .dayItem .holidaySign {
    font-size: 12px;
    -webkit-transform: scale(0.8);
}

.tdCalendarWrap .dayList .dayItem .dayNum {
    font-size: 18px;
}

.tdCalendarWrap .dayList .dayItem .dayNum.todayText {
    font-size: 16px;
}

.tdCalendarWrap .dayList .dayItem .tipsFont {
    font-size: 12px;
    min-height: 17px;
    -webkit-transform: scale(0.8);
}

.tdCalendarWrap .dayList .dayItem.yesChoice .holidaySign {
    color: #3183ff;
}

.tdCalendarWrap .dayList .dayItem.yesChoice .dayNum {
    color: #000;
}

.tdCalendarWrap .dayList .dayItem.yesChoice .tipsFont {
    color: #f31c1c;
}

.tdCalendarWrap .dayList .dayItem.yesChoice.active {
    background: #6180ef;
}

.tdCalendarWrap .dayList .dayItem.yesChoice.active .holidaySign, .dayList .dayItem.yesChoice.active .dayNum, .dayList .dayItem.yesChoice.active .tipsFont {
    color: #fff;
}

.tdCalendarWrap .dayList .dayItem.noChoice {
    color: #999;
    cursor: not-allowed;
}


@media screen and (max-width: 1024px) {
    .tdCalendarWrap {
        width: 100%;
        height: 100%;
        background: #fff;
        margin: 0 auto;
        box-shadow: none;
    }

    .tdCalendarWrap .weekList {
        width: 100%;
        padding: 0 0.2rem;
        background: #F5F5F5;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .tdCalendarWrap .weekList .weekItem {
        width: calc(100% / 7);
        height: 0.6rem;
        color: #333;
        font-size: 0.26rem;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .tdCalendarWrap .weekList .weekItem.restDay {
        color: #6c8cff;
    }

    .tdCalendarWrap .calendarInfo {
        width: 100%;
        height: calc(100% - 0.6rem);
        padding: 0.2rem;
        overflow-y: auto;
    }

    .tdCalendarWrap .calendarInfo::-webkit-scrollbar {
        display: none;
    }

    .tdCalendarWrap .calendarItem .yearMonth {
        width: 100%;
        padding-bottom: 0.2rem;
        color: #1A1A1A;
        font-size: 0.3rem;
        font-weight: bold;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .tdCalendarWrap .dayListBox {
        width: 100%;
    }

    .tdCalendarWrap .dayList {
        width: 100%;
        margin-bottom: 0.1rem;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
    }

    .tdCalendarWrap .dayList .dayItem {
        width: calc(100% / 7);
        height: 1.28rem;
        padding: 2px 0;
        border-radius: 4px;
        display: inline-flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-end;
        cursor: pointer;
    }

    .tdCalendarWrap .dayList .dayItem .holidaySign {
        font-size: 0.24rem;
        -webkit-transform: scale(0.8);
    }

    .tdCalendarWrap .dayList .dayItem .dayNum {
        font-size: 0.34rem;
    }

    .tdCalendarWrap .dayList .dayItem .dayNum.todayText {
        font-size: 0.3rem;
    }

    .tdCalendarWrap .dayList .dayItem .tipsFont {
        font-size: 0.24rem;
        min-height: 17px;
        -webkit-transform: scale(0.8);
    }

    .tdCalendarWrap .dayList .dayItem.yesChoice .holidaySign {
        color: #3183ff;
    }

    .tdCalendarWrap .dayList .dayItem.yesChoice .dayNum {
        color: #000;
    }

    .tdCalendarWrap .dayList .dayItem.yesChoice .tipsFont {
        color: #f31c1c;
    }

    .tdCalendarWrap .dayList .dayItem.yesChoice.active {
        background: #6180ef;
    }

    .tdCalendarWrap .dayList .dayItem.yesChoice.active .holidaySign, .dayList .dayItem.yesChoice.active .dayNum, .dayList .dayItem.yesChoice.active .tipsFont {
        color: #fff;
    }

    .tdCalendarWrap .dayList .dayItem.noChoice {
        color: #999;
        cursor: not-allowed;
    }
}
